package com.chun.api.service.impl;

import org.springframework.stereotype.Service;

import com.chun.api.APIMapping;
import com.chun.api.entity.User;
import com.chun.api.service.UserService;

@Service
public class UserServiceImpl implements UserService{

	@APIMapping(value = "api.adduser",checkLogin=true)
	public void addUser(User user) {
		System.out.println("=========================");
		
	}
	@APIMapping("api.login")
	public void login(String account,String password) {
		System.out.println("=========================");
		
	}
	@APIMapping(value="api.index",checkLogin=false)
	public void indexInfo() {
		System.out.println("=========================");
		
	}
}
